package com.mifan.mapper;

import com.mifan.entity.HmDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 游资每日交易明细表 Mapper 接口
 * </p>
 *
 * @author Milan
 * @since 2024-09-27
 */
public interface HmDetailMapper extends BaseMapper<HmDetail> {

    @Select("select * from ums_hm_detail where trade_date = #{tradeDate} limit 1")
    List<HmDetail> selectByTradeDate(String tradeDate);
}
